<div class="navbar  navbar-default" >
    <div class="head-content">
        <div class="navbar-header">
            <a  href="#">
                <img src="img/logo.png" alt="公司标识" class="my-logo img-responsive">
            </a>
            <a class="navbar-toggle" data-toggle="collapse" href="#menu">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </a>
        </div>
        <div id="menu" class="collapse  navbar-collapse">
            <!--左侧导航菜单-->
            <nav >
                <ul class="ul">
                    <li id="cut_1" ng-click="go('pagemanager')" zg-access="webmanager" ><a  href="javascript:void(0)">网页管理</a></li>
                    <li id="cut_2" ng-click="go('filemanager')" zg-access="papers" ><a  href="javascript:void(0)">文件管理</a></li>
                    <li id="cut_3" ng-click="go('tenans')" zg-access="usersystem" ><a  href="javascript:void(0)">用户管理</a></li>
                    <li id="cut_4" ng-click="go('recycle')" zg-access="trash"><a  href="javascript:void(0)">回收站</a></li>
                </ul>
            </nav>
            <div id="box_1" style="display: none; height: auto;" class="l_v l_s01">
                <ul class="box-ul">
                    <li>
                        <a zg-access="pagemanager" ng-click="go('pagemanager')"  class="text1">
                        <span>
                             <img src="img/pagemanager.png" alt=""  class= "icon">
                            <span class="menu_word">网页管理</span>
                        </span>
                        </a>
                    </li>
                </ul>
            </div>
            <div id="box_2" style="display: none; height: auto;" class="l_v l_s02">
                <ul class="box-ul">
                    <li>
                        <a zg-access="filemanager" ng-click="go('filemanager')" class="text1">
                        <span>
                            <img src="img/filemanager.png" alt=""  class= "icon">
                            <span class="menu_word">全部文档</span>
                        </span>
                        </a>
                    </li>
                    <li>
                        <a zg-access="video" ng-click="go('video')" class="text1"  >
                        <span>
                            <img src="img/video.png" alt=""  class= "icon">
                            <span class="menu_word" >视频</span>
                        </span>
                        </a>
                    </li>
                </ul>
            </div>
            <div id="box_3" style="display: none; height: auto;" class="l_v l_s03">
                <ul class="box-ul">
                    <li>
                        <a zg-access="tenans" ng-click="go('tenans')"  class="text1">
                        <span>
                            <img src="img/tenans.png" alt=""  class= "icon">
                            <span class="menu_word">租户管理</span>
                        </span>
                        </a>
                    </li>
                    <li>
                        <a  zg-access="users" ng-click="go('users')"  class="text1">
                        <span>
                            <img src="img/users.png" alt="" class=" icon">
                            <span class="menu_word">用户管理</span>
                        </span>
                        </a>
                    </li>
                    <li>
                        <a zg-access="roles" ng-click="go('roles')"  class="text1">
                        <span>
                            <img src="img/roles.png" alt="" class="icon">
                            <span class="menu_word">角色管理</span>
                        </span>
                        </a>
                    </li>
                    <li>
                        <a  zg-access="resources" ng-click="go('resources')"  class="text1">
                        <span>
                            <img src="img/resources.png" alt="" class="icon">
                            <span class="menu_word">权限管理</span>
                        </span>
                        </a>
                    </li>
                </ul>
            </div>
            <div id="box_4" style="display: none; height: auto;" class="l_v l_s04">
                <ul class="box-ul">
                    <li>
                        <a zg-access="recycle" ng-click="go('recycle')"  class="text1">
                        <span>
                            <img src="img/recycle.png" alt="" class="icon">
                            <span class="menu_word">回收站</span>
                        </span>
                        </a>
                    </li>
                </ul>
            </div>
            <div id="box_5" style="display: none; height: auto;" class="l_v l_s05">
                <ul class="box-ul">
                    <li>
                        <a zg-access="userinfo" ng-click="go('userinfo')" class="text1">
                        <span >
                            <img src="img/userinfo.png" alt="" class="icon">
                            <span class="menu_word">个人资料</span>
                        </span>
                        </a>
                    </li>
                    <li>
                        <a zg-access="userpwd" ng-click="go('userpwd')"  class="text1">
                        <span>
                            <img src="img/userpwd.png" alt="" class="icon">
                            <span class="menu_word">修改密码</span>
                        </span>
                        </a>
                    </li>
                </ul>
            </div>
            <!--右侧导航菜单-->
            <ul class="nav navbar-nav navbar-right">
                <li>
                    <img src="img/head-img.jpg" alt="个人头像" class="head-img img-responsive">
                </li>
                <li class="dropdown">
                    <a data-toggle="dropdown" href="javascript:void(0);">
                        {{user.username}}
                        <span class="caret"></span>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a  zg-access="userinfo" ng-click="go('userinfo')">个人资料</a></li>
                        <li class="divider"></li>
                        <li><a href="javascript:void(0)" ng-click="exit()">退出</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
</div>


